package com.info.springmongo.service;

import com.info.springmongo.entity.Student;

import java.util.List;

public interface StudentService {

    int save(Student student);

    int update(Student student);

    Student getById(Long id);

    List<Student> getList(Student student);

    List<Student> listByPage(Student student,int pageNum,int pageSize);

    int delete(Long id);
}
